Release 10.1A: OpenEdge Development:
Programming Interfaces


import-xml-db procedure

Imports an XML file containing audit polices into a connected database specified by its logical name. If the XML file contains policies that already exist in the database and the ploverride parameter is set to NO, this procedure does not update the database and returns a comma-separated list of existing policies. The caller can then ask for confirmation and call the save-changes-to-db procedure. If ploverride is set to YES, this procedure automatically overrides all existing policies and does not return any duplicates in the pcDupList parameter. Any errors set the perrorMsg parameter and cause the import operation to be backed out.

Parameters:

INPUT pcxmlFileName AS CHARACTER

Filename of the XML file with audit policies to import.

INPUT pcDbName AS CHARACTER

Logical name of the target database to import the policies.

INPUT plWait AS LOGICAL

YES specifies to wait if a lock on a record cannot be acquired.

INPUT ploverride AS LOGICAL

YES specifies to override existing policies.

OUTPUT pcDupList AS CHARACTER

Comma-separated list of policies that already exist in the specified database and also exist in the XML file.

OUTPUT perrorMsg AS CHARACTER

Error messages.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095